package com.zust.data.dal;

import com.zust.data.entity.DlColumn;

import java.util.List;

/**
 * @author senselyan
 * @Description:
 * @date 2018/5/10 16:49
 */
public interface DlColumnRepository extends DefaultDatabaseRepository<DlColumn>{

    List<DlColumn> findAllByDataIdAndDeletedFlag(String dataId, Integer deletedFlag);

    long countAllByDataIdAndDeletedFlag(String dataId, Integer deletedFlag);

    void deleteAllByDataId(String dataId);
}

